import React from 'react'
import { useState } from 'react'
import Gege from './components/Gege'
import Didi from './components/Didi'
export default function App() {
  const [money, setMoney] = useState(1)
  const changeMoney = () => {
    setMoney(money + 1)
  }
  return (
    <div>
      <p>我是你爹</p>
      <p>我有{money}$</p>
      <button onClick={changeMoney}>赚钱了</button>
      <Gege/>
      <Didi/>
    </div>
  )
}




